namespace Meridian.Data {

public class DataOrder : GLib.Object {

    public DataDirection direction {private get; construct;}
    public string column {private get; construct;}
    
    public DataOrder (DataDirection direction, string column) {
        GLib.Object(direction : direction, column : column);
    }
    
    public string to_string () {
        return column + " " + direction.to_string ();
    }
}
}